package cn.kgc.mapper;

import cn.kgc.pojo.Version;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VersionMapper {
    public List<Version> getVersionList(@Param("appId")Integer appId) throws Exception;

    public int add(Version appVersion)throws Exception;

    public int getVersionCountById(@Param("appId")Integer appId)throws Exception;

    public int deleteVersionById(@Param("appId")Integer appId)throws Exception;

    public Version getVersionById(@Param("id")Integer id)throws Exception;

    public int modify(Version version)throws Exception;

    public int deleteApkFile(@Param("id")Integer id)throws Exception;
}